<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gimpcpuaccel: GIMP 3 Base Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GIMP 3 Base Library Reference Manual">
<link rel="up" href="pt01.html" title="Part I. GIMP Base Library">
<link rel="prev" href="libgimpbase3-gimpchecks.html" title="gimpchecks">
<link rel="next" href="libgimpbase3-gimpenv.html" title="gimpenv">
<meta name="generator" content="GTK-Doc V1.33.0 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#libgimpbase3-gimpcpuaccel.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libgimpbase3-gimpchecks.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libgimpbase3-gimpenv.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="libgimpbase3-gimpcpuaccel"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpbase3-gimpcpuaccel.top_of_page"></a>gimpcpuaccel</span></h2>
<p>gimpcpuaccel — Functions to query and configure CPU acceleration.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="libgimpbase3-gimpcpuaccel.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="libgimpbase3-gimpcpuaccel.html#GimpCpuAccelFlags" title="enum GimpCpuAccelFlags"><span class="returnvalue">GimpCpuAccelFlags</span></a>
</td>
<td class="function_name">
<a class="link" href="libgimpbase3-gimpcpuaccel.html#gimp-cpu-accel-get-support" title="gimp_cpu_accel_get_support ()">gimp_cpu_accel_get_support</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgimpbase3-gimpcpuaccel.html#gimp-cpu-accel-set-use" title="gimp_cpu_accel_set_use ()">gimp_cpu_accel_set_use</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libgimpbase3-gimpcpuaccel.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="libgimpbase3-gimpcpuaccel.html#GimpCpuAccelFlags" title="enum GimpCpuAccelFlags">GimpCpuAccelFlags</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libgimpbase3-gimpcpuaccel.description"></a><h2>Description</h2>
<p>Functions to query and configure CPU acceleration.</p>
</div>
<div class="refsect1">
<a name="libgimpbase3-gimpcpuaccel.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gimp-cpu-accel-get-support"></a><h3>gimp_cpu_accel_get_support ()</h3>
<pre class="programlisting"><a class="link" href="libgimpbase3-gimpcpuaccel.html#GimpCpuAccelFlags" title="enum GimpCpuAccelFlags"><span class="returnvalue">GimpCpuAccelFlags</span></a>
gimp_cpu_accel_get_support (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Query for CPU acceleration support.</p>
<div class="refsect3">
<a name="gimp-cpu-accel-get-support.returns"></a><h4>Returns</h4>
<p> <a class="link" href="libgimpbase3-gimpcpuaccel.html#GimpCpuAccelFlags" title="enum GimpCpuAccelFlags"><span class="type">GimpCpuAccelFlags</span></a> as supported by the CPU.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-cpu-accel-set-use"></a><h3>gimp_cpu_accel_set_use ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_cpu_accel_set_use (<em class="parameter"><code><span class="type">gboolean</span> use</code></em>);</pre>
<p>This function is for internal use only.</p>
<div class="refsect3">
<a name="gimp-cpu-accel-set-use.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>use</p></td>
<td class="parameter_description"><p>whether to use CPU acceleration features or not</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
</div>
<div class="refsect1">
<a name="libgimpbase3-gimpcpuaccel.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GimpCpuAccelFlags"></a><h3>enum GimpCpuAccelFlags</h3>
<p>Types of detectable CPU accelerations</p>
<div class="refsect3">
<a name="GimpCpuAccelFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GIMP-CPU-ACCEL-NONE:CAPS"></a>GIMP_CPU_ACCEL_NONE</p></td>
<td class="enum_member_description">
<p>None</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-CPU-ACCEL-X86-MMX:CAPS"></a>GIMP_CPU_ACCEL_X86_MMX</p></td>
<td class="enum_member_description">
<p>MMX</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-CPU-ACCEL-X86-3DNOW:CAPS"></a>GIMP_CPU_ACCEL_X86_3DNOW</p></td>
<td class="enum_member_description">
<p>3dNow</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-CPU-ACCEL-X86-MMXEXT:CAPS"></a>GIMP_CPU_ACCEL_X86_MMXEXT</p></td>
<td class="enum_member_description">
<p>MMXEXT</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-CPU-ACCEL-X86-SSE:CAPS"></a>GIMP_CPU_ACCEL_X86_SSE</p></td>
<td class="enum_member_description">
<p>SSE</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-CPU-ACCEL-X86-SSE2:CAPS"></a>GIMP_CPU_ACCEL_X86_SSE2</p></td>
<td class="enum_member_description">
<p>SSE2</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-CPU-ACCEL-X86-SSE3:CAPS"></a>GIMP_CPU_ACCEL_X86_SSE3</p></td>
<td class="enum_member_description">
<p>SSE3</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-CPU-ACCEL-X86-SSSE3:CAPS"></a>GIMP_CPU_ACCEL_X86_SSSE3</p></td>
<td class="enum_member_description">
<p>SSSE3</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-CPU-ACCEL-X86-SSE4-1:CAPS"></a>GIMP_CPU_ACCEL_X86_SSE4_1</p></td>
<td class="enum_member_description">
<p>SSE4_1</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-CPU-ACCEL-X86-SSE4-2:CAPS"></a>GIMP_CPU_ACCEL_X86_SSE4_2</p></td>
<td class="enum_member_description">
<p>SSE4_2</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-CPU-ACCEL-X86-AVX:CAPS"></a>GIMP_CPU_ACCEL_X86_AVX</p></td>
<td class="enum_member_description">
<p>AVX</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-CPU-ACCEL-PPC-ALTIVEC:CAPS"></a>GIMP_CPU_ACCEL_PPC_ALTIVEC</p></td>
<td class="enum_member_description">
<p>Altivec</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.0</div>
</body>
</html>